package org.fh.dto;

import java.io.Serializable;
import java.util.Date;

/**
 * 该类用于封装客户信息查询结果的数据传输对象（DTO）。
 * 它包含了从数据库中查询出的客户相关信息，
 * 用于在不同层（如数据访问层和表示层）之间传输数据，避免直接暴露实体类。
 */
public class CustomerInfoDTO implements Serializable {
    /**
     * 客户唯一标识
     */
    private Long customerId;

    /**
     * 客户名称
     */
    private String customerName;

    /**
     * 客户岗位
     */
    private String position;

    /**
     * 公司/单位
     */
    private String company;

    /**
     * 客户类型(j甲方/渠道)
     */
    private String customerChannelName;

    /**
     * 客户等级
     */
    private String customerLevel;

    /**
     * 联系人姓名
     */
    private String contactPerson;

    /**
     * 联系方式
     */
    private String tel;

    /**
     * 商机
     */
    private String isChance;


    /**
     * 跟进阶段
     */
    private String stage;

    /**
     * 创建人
     */
    private Long userName;

    /**
     * 客户信息创建时间
     * 记录客户信息首次创建的时间。
     */
    private Date createTime;

    /**
     * 客户信息更新时间
     */
    private Date updateTime;

    /**
     * 备注信息
     */
    private String remark;

    @Override
    public String toString() {
        return "CustomerInfoDTO{" +
                "customerId=" + customerId +
                ", customerName='" + customerName + '\'' +
                ", position='" + position + '\'' +
                ", company='" + company + '\'' +
                ", customerChannelName='" + customerChannelName + '\'' +
                ", customerLevel='" + customerLevel + '\'' +
                ", contactPerson='" + contactPerson + '\'' +
                ", tel='" + tel + '\'' +
                ", isChance='" + isChance + '\'' +
                ", stage='" + stage + '\'' +
                ", userName=" + userName +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", remark='" + remark + '\'' +
                '}';
    }

    public Long getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Long customerId) {
        this.customerId = customerId;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getCustomerChannelName() {
        return customerChannelName;
    }

    public void setCustomerChannelName(String customerChannelName) {
        this.customerChannelName = customerChannelName;
    }

    public String getCustomerLevel() {
        return customerLevel;
    }

    public void setCustomerLevel(String customerLevel) {
        this.customerLevel = customerLevel;
    }

    public String getContactPerson() {
        return contactPerson;
    }

    public void setContactPerson(String contactPerson) {
        this.contactPerson = contactPerson;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getIsChance() {
        return isChance;
    }

    public void setIsChance(String isChance) {
        this.isChance = isChance;
    }

    public String getStage() {
        return stage;
    }

    public void setStage(String stage) {
        this.stage = stage;
    }

    public Long getUserName() {
        return userName;
    }

    public void setUserName(Long userName) {
        this.userName = userName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}


